<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/component/commonTagLib.jsp"%>

<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <title>报价密码管理</title>
    <%@ include file="/WEB-INF/component/commonCSS.jsp" %>
</head>
<body class="skin-blue-light sidebar-mini fixed skin-blue-light-frame">
     <section class="content-header">
        <h1>报价密码管理</h1>
        <ol class="breadcrumb">
            <li><a href="${ctx}/home.jsp"><i class="fa fa-home"></i>首页</a></li>
            <li class="active"><a href="#">药品招标管理</a></li>
            <li class="active"><a href="#">采购项目管理</a></li>
             <li class="active"><a href="#">报价密码管理</a></li>
        </ol>
    </section> 
    
    <section class="content">
        <div class=" box box-success">
            <div class="box-body">
                <div class=" form-inline">
                
                </div>
            </div>
        </div>

        <table class="jqgrid" id="gridlist">
        </table>
        <div id="gridpage"></div>

        <%-- <div class=" box box-warning bottongroup">
            <a href="${ctx }/bidProject/toAuditCompprofileProjList.html?projId=${param.projId}" class="btn btn-default btn-sm">返回</a>
        </div> --%>
    </section>
    
    <%@ include file="/WEB-INF/component/commonJS.jsp" %>
    <script type="text/javascript">
    
        $(function () {
        	var projId = "${projId}";
        	passwordManagement(projId);
            //密码修改
            function passwordManagement(projId){
                $.HN.dialog.open({
                    id:"passwordManagement",
                    title:"${name}",
                    url:" ${ctx}/prodProject/toPasswordSet.html?projId="+projId+"&defaultP=123",
                    data:{"interflowId":projId},
                    width:"800px",
                    height:"320px"
                });
            	/* $.post("${ctx}/bidProject/getPasswordInfo.html", {
            		projId:projId
            	}, function(result){
            		var result = eval("("+result+")");
            		if(result.firstSetPswd){
            			$.HN.message.alert("请先设置密码！", "消息","error");
            			document.location="${ctx}/bidProject/toSetPassword.html?projId="+projId;
            		}else{
            			 $.HN.dialog.open({
            	             id:"password",
            	             title:"输入密码",
            	             url:" ${ctx}/bidProject/toWritePassword.html?projId="+projId,
            	             //data:{"interflowId":projId},
            	             width:"800px",
            	             height:"300px"
            	             }
            	             ); 
            		}
            	}); */
            	
            }
        });

        
        
       
      
        
        
    </script>
</body>
</html>